""" 
CSDN : heart_6662
PYTHON amateur   
"""

l = [1]
for i in range(10):
    for k in l:
        print(k, end='\t')
    print('\n ')
    l1 = l[:]
    l1.insert(0, 0)
    l1.append(0)
    l2 = []
    for i in range(len(l1) - 1):
        l2.append(l1[i] + l1[i + 1])
    l = l2[:]